import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/personnel_statistics_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/personnel_statistics_entity.g.dart';

/// 人员统计实体
@JsonSerializable()
class PersonnelStatisticsEntity {

	PersonnelStatisticsEntity();

	factory PersonnelStatisticsEntity.fromJson(Map<String, dynamic> json) => $PersonnelStatisticsEntityFromJson(json);
	int? certifiedSafetyEngineer = 0;
	int? dedicatedSafetyPersonnel = 0;
	int? personInChargeNum = 0;
	int? personInChargeOfSafety = 0;
	int? registeredEmployeesOfEnterprises = 0;
	int? specialOperations = 0;

	Map<String, dynamic> toJson() => $PersonnelStatisticsEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
